#ifndef PLAYSCENE_H
#define PLAYSCENE_H


#include <QMainWindow>
#include "dataconfig.h"
#include "mycoin.h"

class PlayScene : public QMainWindow
{
    Q_OBJECT
public:
    PlayScene(int levelNum);

    virtual void paintEvent(QPaintEvent *);
    int levelIndex = 0;

    dataConfig config;              //声明配置数据
    int initArray[4][4];            //维护本地配置数据
    MyCoin *coinArray[4][4];        //维护执行动作时的数据变化

    bool isWin = false;             //是否胜利

signals:
    void playSceneBack();

};


#endif // PLAYSCENE_H
